package com.lf.entity.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import com.lf.entity.shiti.students;

public class stu_LoginMapper implements RowMapper<students> {

	@Override
	public List<students> getTList(ResultSet rs) {
		List<students> list = new ArrayList<students>();
		try {
			while(rs.next()){
				students stu = new students();
				stu.setS_password(rs.getString("s_password"));
				list.add(stu);
			}
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return list;
	}

}
